Release 10.1A: OpenEdge Development:
Messaging and ESB


Session models

The OpenEdge Adapter for Sonic ESB, like the WSA, supports two session models:

In programming for services managed by the OpenEdge Adapter for Sonic ESB and their clients, it is generally preferable to write applications to take advantage of the session-free model. By doing so, you avoid the need to write code to manage connections. Similarly, it is desirable to avoid including SubAppObjects or ProcObjects (persistent procedures) when generating the client proxy for the AppServer application, because such objects are processed in a session-managed mode even if the session-free model is specified for the top-level AppObject. In general, the session-free model without the use of sub-objects requires less complex programming. It also allows for better performance and scalability, since multiple AppServer instances and processes can be made available to handle requests in parallel.

Figure 6–2 shows the Proxy Generator window and the Progress Explorer window where you set the applicable options for the session model and the AppServer operating mode.

Figure 6–2: Recommended options for OpenEdge Adapter for Sonic ESB services


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095